package cn.com.surker.weight.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 供应商材料对应表
 * </p>
 *
 * @author admin
 * @since 2023-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WeightMaterialContrast implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 站点ID
     */
    private Long stationId;

    /**
     * 站点
     */
    private String station;

    /**
     * 材料ID
     */
    private Integer materialId;

    /**
     * 材料名称
     */
    private String material;

    /**
     * 供应商ID
     */
    private Integer supplierId;

    /**
     * 供应商
     */
    private String supplier;

    /**
     * 供应商材料
     */
    private String aipMaterial;

    /**
     * 状态(0:启用1:禁用)
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    public WeightMaterialContrast(){}
    public WeightMaterialContrast(Long stationId, String station, Integer materialId, String material,
                                  Integer supplierId, String supplier, String aipMaterial, Integer status,
                                  String remark, Date updateTime, Date createTime) {
        this.stationId = stationId;
        this.station = station;
        this.materialId = materialId;
        this.material = material;
        this.supplierId = supplierId;
        this.supplier = supplier;
        this.aipMaterial = aipMaterial;
        this.status = status;
        this.remark = remark;
        this.updateTime = updateTime;
        this.createTime = createTime;
    }
}
